class Color < ActiveRecord::Base
  has_many :routes

  def <=>(x)
    self.name <=> x.name
  end
end
